package com.party.api.dto.wechat.response;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Description: 上传临时素材响应实体
 * @Author: yangshoukun
 * @Date: 2018/5/3 15:02
 */
public class UploadTempMediaResponse extends Response {
    // 媒体文件类型，分别有图片（image）、语音（voice）、视频（video）和缩略图（thumb，主要用于视频与音乐格式的缩略图）
    private String type;

    // 媒体文件上传后，获取标识
    @JSONField(name = "media_id")
    private String mediaId;

    // 媒体文件上传时间戳
    @JSONField(name = "created_at")
    private String uploadTimestamp;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getUploadTimestamp() {
        return uploadTimestamp;
    }

    public void setUploadTimestamp(String uploadTimestamp) {
        this.uploadTimestamp = uploadTimestamp;
    }
}
